using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;

namespace Xioa_UI.Controls;

public class XioaSlider : Slider
{
    public XioaSlider()
    {

    }
    public static readonly DependencyProperty PanelBackgroundProperty =
       ElementBase.Property<XioaSlider, Brush>("PanelBackgroundProperty");

    public Brush PanelBackground
    {
        get => (Brush)GetValue(PanelBackgroundProperty);
        set => SetValue(PanelBackgroundProperty, value);
    }


    public static readonly DependencyProperty NormalPathColorProperty =
       ElementBase.Property<XioaSlider, Brush>("NormalPathColorProperty");

    public Brush NormalPathColor
    {
        get => (Brush)GetValue(NormalPathColorProperty);
        set => SetValue(NormalPathColorProperty, value);
    }

    public static readonly DependencyProperty CornerRadiusProperty =
       ElementBase.Property<XioaSlider, CornerRadius>("CornerRadiusProperty");

    public CornerRadius CornerRadius
    {
        get => (CornerRadius)GetValue(CornerRadiusProperty);
        set => SetValue(CornerRadiusProperty, value);
    }

    public static readonly DependencyProperty PathWidthProperty =
      ElementBase.Property<XioaSlider, double>("PathWidthProperty",0);

    public double PathWidth
    {
        get => (double)GetValue(PathWidthProperty);
        set => SetValue(PathWidthProperty, value);
    }
}